package com.daniel.gof.bridge;

/**
 * 详细说明
 *
 * @author Daniel
 * @version V1.0
 * @date 2020/5/15 15:10
 */
public class Rectangle extends Shape {
	private int x;
	private int y;

	protected Rectangle(int x, int y, IDraw draw) {
		super(draw);
		this.x = x;
		this.y = y;
	}

	@Override
	public void paint() {
		draw.draw(0, x, y);
	}
}
